package com.youlai.boot.system.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * 角色和菜单关联表
 */
@Getter
@Setter
@Accessors(chain = true)
@Table(value = "sys_role_menu")
public class SysRoleMenuEntity {

    /**
     * 角色ID
     */
    @Column(value = "role_id")
    private Long roleId;

    /**
     * 菜单ID
     */
    @Column(value = "menu_id")
    private Long menuId;
}